package io.renren.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.dao.DataLostmoneyDao;
import io.renren.entity.DataLostmoneyEntity;
import io.renren.service.DataLostmoneyService;



@Service("dataLostmoneyService")
public class DataLostmoneyServiceImpl implements DataLostmoneyService {
	@Autowired
	private DataLostmoneyDao dataLostmoneyDao;
	
	@Override
	public DataLostmoneyEntity queryObject(String id){
		return dataLostmoneyDao.queryObject(id);
	}
	
	@Override
	public List<DataLostmoneyEntity> queryList(Map<String, Object> map){
		return dataLostmoneyDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return dataLostmoneyDao.queryTotal(map);
	}
	
	@Override
	public void save(DataLostmoneyEntity dataLostmoney){
		dataLostmoneyDao.save(dataLostmoney);
	}
	
	@Override
	public void update(DataLostmoneyEntity dataLostmoney){
		dataLostmoneyDao.update(dataLostmoney);
	}
	
	@Override
	public void delete(String id){
		dataLostmoneyDao.delete(id);
	}
	
	@Override
	public void deleteBatch(String[] ids){
		dataLostmoneyDao.deleteBatch(ids);
	}
	
}
